<select class="form-control input-sm" name="master_layanan" id="master_layanan" onchange="pilih_layanan(this.value);">
		<option value="">--Pilih Layanan--</option>
		<?php 
		foreach ($layanan as $value) { ?>
			<option value="<?= $value['kd_layanan'] ?>"><?=$value['layanan']?></option>
		<?php } ?>
<select>